<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<style>
    li {
        list-style: none;
    }

    .confirmButton {

        outline: none;
        cursor: pointer;
        display: inline-block;
        min-width: 180px;
        padding: .4em;
        height: 45px;
        text-align: center;
        color: #fff;
        margin-left: 240px;
        letter-spacing: 1px;
        font-size: 1.125rem;
        border-radius: 50px;
        margin-top: 20px;
        background-color: #389fc3;
        transition: .5s;
        border: 1px solid #389fc3;
    }
</style>
<body>
<div style="width: 1246px; height: 500px; margin: 0 auto;">
    <h2 style="font-family: inherit; font-weight: bold;color: #2f2f2f;font-size: 30px; text-align: center;padding-top: 20px;">
        恭喜您，已经完成本次考试</h2>
    <div style="height: 290px;width: 700px; margin: 0 auto;">
        <div  style="height: 100px;width: 600px; margin: 0 auto; text-align: center">
            <h3>本次得分</h3>
        </div>
        <div style="text-align: center;">
            <h1><fmt:formatNumber value="${scope}" pattern="#.00" type="number"/>分</h1>
        </div>
    </div>


    <div style="width: 700px; margin: 0 auto;">
        <button  onclick="returnUserInfo()" class="confirmButton">确定</button>
    </div>
</div>
</body>
</html>
<script src="/js/jquery-1.11.3.min.js"></script>
<script type="text/javascript">
    function returnUserInfo() {
        window.location.href='/page/userInfo';
    }
</script>